Template Variables:

Global variables that may contain other global variables*:
<%TITLE%> The page title. Defined in the Output Options, where you may insert other variables (typically something like "Page #<%PAGE%>").
* global variables may also be used anywhere outside of the gallery code.
Global Variables that cannot contain code or variables:
<%PAGE%> The current pagenumber.
<%PAGEMAX%> The total number of pages created
<%PREVIOUS%> Link to the previous gallerypage.
<%NEXT%> Link to the next gallerypage.
<%HOME%> Home - Link & Label (as defined in the output options).
<%ALLPAGES%> Links to all generated pages. Empty if only one page is created.
Variables that are only available for a specific cell and image:
<%THUMBWIDTH%> The width of the current thumbnail.
<%THUMBHEIGHT%> The height of the current thumbnail.
<%IMAGENAME%> The name of the current image.
<%IMAGEFILESIZE%> The filesize of the current image.
<%IMAGEFILESIZEKB%> The filesize of the current image in Kilobytes (rounded). (added in V1.3)
<%IMAGEFILESIZEMB%> The filesize of the current image in Megabytes (rounded). (added in V1.3)
<%IMAGEWIDTH%> The width of the image.
<%IMAGEHEIGHT%> The height of the image.